extends Reference
class_name Buff
var coster:ActorV  #释放者
var target:ActorV  #目标

func start(i_coster:ActorV,i_target:ActorV):
	coster=i_coster
	target=i_target
	if is_instance_valid(target) and !target.actorM.buffs.has(self):
		target.actorM.buffs.append(self)
func dispose():
	if is_instance_valid(target):
		target.actorM.buffs.erase(self)
	pass
